package com.baymax.springboot.cli.mapper.customized;

import com.baymax.springboot.cli.mapper.HdeUserMapper;
import com.baymax.springboot.cli.model.HdeUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository // 这样才能使用@Autowired 进行注入
public interface HdeUserCustomizedMapper extends HdeUserMapper {

    public HdeUser findById(int id);

    public HdeUser findMapById(int id);

    public HdeUser findByIdWithOptionalKeys(int id);

    /**
     * 分页查询用户
     * @return
     */
    public List<HdeUser> selectPage();
}
